import { post } from "@/util/request";


// 量化项目列表
export const QuantifyProject = async () => {

	const obj = await post("/ProjectApi/QuantifyProject", {});
	return obj
};
// 量化结算查询
export const QuantifySettlementSelect = async () => {
	const obj = await post("/ProjectApi/QuantifySettlementSelect", {});
	return obj
};

// 量化结算
export const QuantifySettlement = async () => {
	const obj = await post("/ProjectApi/QuantifySettlement", {});
	return obj
};
// 量化解锁
export const QuantifyUnlock = async (data: any) => {
	uni.showLoading({
		mask: true
	})
	const obj = await post("/ProjectApi/QuantifyUnlock", data);
	uni.hideLoading()
	return obj
};
// 智慧项目列表
export const WisdomProject = async () => {
	const obj = await post("/ProjectApi/WisdomProject", {});
	return obj
};
// 智慧项目购买
export const WisdomProjectBuy = async (data:any) => {
	const obj = await post("/ProjectApi/WisdomProjectBuy", data);
	return obj
};
// 智慧项目购买订单
export const UsersWisdomProjectOrder = async (data:any) => {
	const obj = await post("/ProjectApi/UsersWisdomProjectOrder", data);
	return obj
};
// 量化结算订单
export const UsersQuantifyProjectSettlementOrder = async (data:any) => {
	const obj = await post("/ProjectApi/UsersQuantifyProjectSettlementOrder", data);
	return obj
};
